add class queryselector

64

add class queryselector -

const element = document.querySelector("#box");

element.classList.add("class-name");

add class queryselector -

<div id="box"></div>

Comments

Submit
0 Comments